﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Web;

namespace UniversityStudentManagemnetSystem.DAO.DAL
{
    public class Student
    {
        private int id;
        private string regNo;
        private string name;
        private string email;
        private string contactNumber;
        private string address;
        private int gradeId;
        private string grade;
        private string gradePoint;
        private DateTime registrationDate;
        private DateTime enrollDate;
        private Course course =new Course();
        private Department department=new Department();
        private StudentEducationRegistration education=new StudentEducationRegistration();
        private List<StudentEducationRegistration> aAStudentEducationInformationList = new List<StudentEducationRegistration>();


        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public string ContactNumber
        {
            get { return contactNumber; }
            set { contactNumber = value; }
        }

        public string Address
        {
            get { return address; }
            set { address = value; }
        }

        public DateTime RegistrationDate
        {
            get { return registrationDate; }
            set { registrationDate = value; }
        }

        public Department Department
        {
            get { return department; }
            set { department = value; }
        }


        public List<StudentEducationRegistration> AStudentEducationInformationList
        {
            get { return aAStudentEducationInformationList; }
            
        }
        

        public string RegNo
        {
            get { return regNo; }
            set { regNo = value; }
        }

        public StudentEducationRegistration Education
        {
            get { return education; }
            set { education = value; }
        }

        public DateTime CourseEnrollDate
        {
            get { return enrollDate; }
            set { enrollDate = value; }
        }

        public Course Course
        {
            get { return course; }
            set { course = value; }
        }

        public string Grade
        {
            get { return grade; }
            set { grade = value; }
        }

        public string GradePoint
        {
            get { return gradePoint; }
            set { gradePoint = value; }
        }

        public int GradeId
        {
            get { return gradeId; }
            set { gradeId = value; }
        }

        public string Add(StudentEducationRegistration aAStudentEducationInformation)
        {
            AStudentEducationInformationList.Add(aAStudentEducationInformation);
            return "Student Education Information Added";
        }


    }
}